package com.luych.userCenter.dao;

import com.luych.userCenter.entity.RoleRPermission;
import com.luych.userCenter.entity.RoleRPermissionExample;
import com.luych.userCenter.entity.RoleRPermissionKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RoleRPermissionMapper {
    long countByExample(RoleRPermissionExample example);

    int deleteByExample(RoleRPermissionExample example);

    int deleteByPrimaryKey(RoleRPermissionKey key);

    int insert(RoleRPermission record);

    int insertSelective(RoleRPermission record);

    List<RoleRPermission> selectByExample(RoleRPermissionExample example);

    RoleRPermission selectByPrimaryKey(RoleRPermissionKey key);

    int updateByExampleSelective(@Param("record") RoleRPermission record, @Param("example") RoleRPermissionExample example);

    int updateByExample(@Param("record") RoleRPermission record, @Param("example") RoleRPermissionExample example);

    int updateByPrimaryKeySelective(RoleRPermission record);

    int updateByPrimaryKey(RoleRPermission record);
}